package com.mida.app.report.controller;

import com.mida.app.report.service.DocReportListNewService;
import com.mida.app.report.vo.PagingQueryVo;
import com.mida.tool.common.result.ListResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @author ：bzy
 * @description：报告list控制层
 */
@RestController
@RequestMapping("/reportListNew")
@Slf4j
@CrossOrigin
public class DocReportListNewController {


    @Autowired
    private DocReportListNewService docReportListNewService;




    @PostMapping(value = "/risFindPage", produces = {"application/json;charset=UTF-8"})
    public ListResult risFindPage(@RequestBody PagingQueryVo vo) {
        return docReportListNewService.risFindPage(vo);
    }
}
